package br.ufpe.cin.ip.biblioteca.excecoes;

public class RepositorioException extends Exception {
	private static final long serialVersionUID = 137025507693305776L;
	private Throwable throwable;
	
	public RepositorioException(Throwable throwable) {
		super(throwable.getMessage());
		this.throwable = throwable;
	}
	
	@Override
	public String getMessage() {
		return this.throwable.getMessage();
	}
}
